using System;
using System.ComponentModel.DataAnnotations;
using UwinEducation.Shared.Enums;

namespace UwinEducation.Application.Dtos.Descriptions
{
    /// <summary>
    /// 更新描述DTO
    /// </summary>
    public class UpdateDescriptionDto
    {
        /// <summary>
        /// ID
        /// </summary>
        [Required(ErrorMessage = "ID不能为空")]
        public Guid Id { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string? Title { get; set; }

        /// <summary
        /// 内容
        /// </summary>
        public string? Content { get; set; }

        /// <summary>
        /// 内容(英文)
        /// </summary>
        public string? EnContent { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public DescriptionType? Type { get; set; }
    }
} 